package com.jt.dao;

import com.jt.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {

    Category queryById(Integer id);

    List<Category> queryByCId(Integer cid);

    List<Category> queryAll();

    Integer save(Category category);

    Integer update(Category category);

    Integer updateStatus(Category category);

    List<Category> queryByName(String activity);




}
